package com.lds.config.center.common.model.app.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lds.management.center.common.model.pojo.BaseObject;
import lombok.*;

import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AppBaseResponse extends BaseObject {
    /**
     * 应用ID
     */
    private Long id;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String modifier;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    /**
     * 应用名称
     */
    private String name;

    /**
     * 描述
     */
    private String desc;

    /**
     * 集群ID
     */
    private Long clusterId;
}
